android-components
Module Contents
alltypes
Module Contents
abstract class AbstractCustomTabsService : CustomTabsService
Module Contents
AbstractCustomTabsService()
abstract val engine: Engine
protected open fun extraCommand(commandName: String?, args: Bundle?): Bundle?
protected open fun mayLaunchUrl(sessionToken: CustomTabsSessionToken?, url: Uri?, extras: Bundle?, otherLikelyBundles: MutableList<Bundle>?): Boolean
protected open fun newSession(sessionToken: CustomTabsSessionToken?): Boolean
protected open fun postMessage(sessionToken: CustomTabsSessionToken?, message: String?, extras: Bundle?): Int
protected open fun requestPostMessageChannel(sessionToken: CustomTabsSessionToken?, postMessageOrigin: Uri?): Boolean
protected open fun updateVisuals(sessionToken: CustomTabsSessionToken?, bundle: Bundle?): Boolean
protected open fun validateRelationship(sessionToken: CustomTabsSessionToken?, relation: Int, origin: Uri?, extras: Bundle?): Boolean
protected open fun warmup(flags: Long): Boolean
data class AccessTokenInfo
interface AccountObserver
enum class AccountState
interface AccountStorage
enum class Action
typealias AndroidDownloadManager = DownloadManager
class AndroidLogSink : LogSink
open class AnimatedProgressBar : ProgressBar
open class ArchMeasurement : TelemetryMeasurement
class AssetsSearchEngineProvider : SearchEngineProvider
data class AstNode
Module Contents
AstNode(type: AstType, value: Any? = null, operator: String? = null, left: AstNode? = null, right: AstNode? = null, from: AstNode? = null, relative: Boolean = false, subject: AstNode? = null, name: String? = null, expression: AstNode? = null, test: AstNode? = null, consequent: AstNode? = null, alternate: AstNode? = null, arguments: MutableList<AstNode> = mutableListOf())
var alternate: AstNode?
val arguments: MutableList<AstNode>
var consequent: AstNode?
fun equals(other: Any?): Boolean
var expression: AstNode?
var from: AstNode?
var left: AstNode?
var name: String?
val operator: String?
var relative: Boolean
var right: AstNode?
var subject: AstNode?
var test: AstNode?
fun toString(): String
val type: AstType
var value: Any?
enum class AstType
interface AsyncLoginsStorage : AutoCloseable
open class AsyncLoginsStorageAdapter<T : LoginsStorage> : AsyncLoginsStorage, AutoCloseable
class AuthException : Exception
enum class AuthExceptionType
class AutoSave
interface AutocompleteDelegate
data class AutocompleteResult
interface AwesomeBar
Module Contents
data class Suggestion
Module Contents
Suggestion(id: String = UUID.randomUUID().toString(), title: String? = null, description: String? = null, icon: (width: Int, height: Int) -> Bitmap? = { _, _ -> null }, chips: List<Chip> = emptyList(), flags: Set<Flag> = emptySet(), onSuggestionClicked: () -> Unit = null, onChipClicked: (Chip) -> Unit = null, score: Int = 0)
data class Chip
enum class Flag
fun areContentsTheSame(other: Suggestion): Boolean
val chips: List<Chip>
val description: String?
val flags: Set<Flag>
val icon: (width: Int, height: Int) -> Bitmap?
val id: String
val onChipClicked: (Chip) -> Unit
val onSuggestionClicked: () -> Unit
val score: Int
val title: String?
interface SuggestionProvider
abstract fun addProviders(vararg providers: SuggestionProvider): Unit
open fun asView(): View
open fun onInputCancelled(): Unit
abstract fun onInputChanged(text: String): Unit
open fun onInputStarted(): Unit
abstract fun setOnStopListener(listener: () -> Unit): Unit
class AwesomeBarFeature
object Base64
abstract class BaseDomainAutocompleteProvider : DomainAutocompleteProvider
data class BooleanMetricType : CommonMetricData
class BrowserAwesomeBar : RecyclerView, AwesomeBar
class BrowserMenu
class BrowserMenuBuilder
class BrowserMenuCheckbox : BrowserMenuCompoundButton
abstract class BrowserMenuCompoundButton : BrowserMenuItem
class BrowserMenuDivider : BrowserMenuItem
class BrowserMenuImageText : BrowserMenuItem
interface BrowserMenuItem
class BrowserMenuItemToolbar : BrowserMenuItem
class BrowserMenuItemViewHolder : ViewHolder
class BrowserMenuSwitch : BrowserMenuCompoundButton
class BrowserTabsTray : RecyclerView, TabsTray
class BrowserToolbar : ViewGroup, Toolbar
Module Contents
BrowserToolbar(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)
class Button : ActionButton
class ToggleButton : ActionToggleButton
class TwoStateButton : Button
fun addBrowserAction(action: Action): Unit
fun addNavigationAction(action: Action): Unit
fun addPageAction(action: Action): Unit
var browserActionMargin: Int
fun displayMode(): Unit
fun displayProgress(progress: Int): Unit
var displaySiteSecurityIcon: Boolean
fun editMode(): Unit
var hint: String
var hintColor: Int
fun invalidateActions(): Unit
fun onBackPressed(): Boolean
protected fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int): Unit
protected fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit
var onUrlClicked: () -> Boolean
fun setAutocompleteListener(filter: (String, AutocompleteDelegate) -> Unit): Unit
fun setMenuBuilder(: BrowserMenuBuilder): Unit
fun setOnEditFocusChangeListener(listener: (Boolean) -> Unit): Unit
fun setOnEditListener(listener: OnEditListener): Unit
fun setOnUrlCommitListener(listener: (String) -> Unit): Unit
fun setSearchTerms(searchTerms: String): Unit
fun setUrlTextPadding(left: Int = displayToolbar.urlView.paddingLeft, top: Int = displayToolbar.urlView.paddingTop, right: Int = displayToolbar.urlView.paddingRight, bottom: Int = displayToolbar.urlView.paddingBottom): Unit
var siteSecure: SiteSecurity
var textColor: Int
var textSize: Float
var typeface: Typeface
var url: String
var urlBoxMargin: Int
var urlBoxView: View?
class BrowserToolbarBottomBehavior : Behavior<BrowserToolbar>
Module Contents
BrowserToolbarBottomBehavior(context: Context?, attrs: AttributeSet?)
fun layoutDependsOn(parent: CoordinatorLayout, child: BrowserToolbar, dependency: View): Boolean
fun onNestedPreScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, target: View, dx: Int, dy: Int, consumed: IntArray, type: Int): Unit
fun onStartNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, directTargetChild: View, target: View, axes: Int, type: Int): Boolean
fun onStopNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, target: View, type: Int): Unit
data class Choice : Parcelable
abstract class Client
open class ClientIdMeasurement : TelemetryMeasurement
class ClipboardSuggestionProvider : SuggestionProvider
object ColorUtils
interface CommonMetricData
typealias Config = Config
data class Configuration
interface Connection : Closeable
class Consumable<T>
class ConsumableStream<T>
data class ContextMenuCandidate
Module Contents
ContextMenuCandidate(id: String, label: String, showFor: (Session, HitResult) -> Boolean, action: (Session, HitResult) -> Unit)
val action: (Session, HitResult) -> Unit
fun createCopyImageLocationCandidate(context: Context, snackBarParentView: View): ContextMenuCandidate
fun createCopyLinkCandidate(context: Context, snackBarParentView: View): ContextMenuCandidate
fun createOpenImageInNewTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createOpenInNewTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createOpenInPrivateTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createSaveImageCandidate(context: Context): ContextMenuCandidate
fun createShareLinkCandidate(context: Context): ContextMenuCandidate
fun defaultCandidates(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): List<ContextMenuCandidate>
val id: String
val label: String
val showFor: (Session, HitResult) -> Boolean
class ContextMenuFeature : LifecycleAwareFeature
class ContextMenuFragment : DialogFragment
open class ContextUtils
class CoordinateScrollingFeature : SelectionAwareSessionObserver, LifecycleAwareFeature
data class CounterMetricType : CommonMetricData
sealed class Crash
class CrashHandlerService : IntentService
class CrashReporter
class CrashReporterActivity : AppCompatActivity
interface CrashReporterService
open class CreatedDateMeasurement : TelemetryMeasurement
open class CreatedDateMeasurementNew : TelemetryMeasurement
open class CreatedTimestampMeasurement : TelemetryMeasurement
open class CreatedTimestampMeasurementNew : TelemetryMeasurement
object CustomDomains
class CustomDomainsProvider : BaseDomainAutocompleteProvider
data class CustomTabActionButtonConfig
class CustomTabConfig
data class CustomTabMenuItem
class CustomTabsToolbarFeature : LifecycleAwareFeature
open class DefaultSearchMeasurement : TelemetryMeasurement
data class DefaultSettings : Settings
Module Contents
DefaultSettings(javascriptEnabled: Boolean = true, domStorageEnabled: Boolean = true, webFontsEnabled: Boolean = true, mediaPlaybackRequiresUserGesture: Boolean = true, trackingProtectionPolicy: TrackingProtectionPolicy? = null, requestInterceptor: RequestInterceptor? = null, historyTrackingDelegate: HistoryTrackingDelegate? = null, userAgentString: String? = null, javaScriptCanOpenWindowsAutomatically: Boolean = false, displayZoomControls: Boolean = true, loadWithOverviewMode: Boolean = false, allowFileAccess: Boolean = true, allowFileAccessFromFileURLs: Boolean = false, allowUniversalAccessFromFileURLs: Boolean = false, allowContentAccess: Boolean = true, verticalScrollBarEnabled: Boolean = true, horizontalScrollBarEnabled: Boolean = true, remoteDebuggingEnabled: Boolean = false, supportMultipleWindows: Boolean = false, testingModeEnabled: Boolean = false)
var allowContentAccess: Boolean
var allowFileAccess: Boolean
var allowFileAccessFromFileURLs: Boolean
var allowUniversalAccessFromFileURLs: Boolean
var displayZoomControls: Boolean
var domStorageEnabled: Boolean
var historyTrackingDelegate: HistoryTrackingDelegate?
var horizontalScrollBarEnabled: Boolean
var javaScriptCanOpenWindowsAutomatically: Boolean
var javascriptEnabled: Boolean
var loadWithOverviewMode: Boolean
var mediaPlaybackRequiresUserGesture: Boolean
var remoteDebuggingEnabled: Boolean
var requestInterceptor: RequestInterceptor?
var supportMultipleWindows: Boolean
var testingModeEnabled: Boolean
var trackingProtectionPolicy: TrackingProtectionPolicy?
var userAgentString: String?
var verticalScrollBarEnabled: Boolean
var webFontsEnabled: Boolean
class DefaultSuggestionLayout : SuggestionLayout
open class DeviceMeasurement : TelemetryMeasurement
data class Domain
class DomainAutoCompleteProvider
interface DomainAutocompleteProvider
class DomainAutocompleteResult
enum class DomainList
data class DomainMatch
object Domains
data class Download
abstract class DownloadDialogFragment : DialogFragment
class DownloadManager
object DownloadUtils
class DownloadsFeature : SelectionAwareSessionObserver, LifecycleAwareFeature
Module Contents
DownloadsFeature(applicationContext: Context, onNeedToRequestPermissions: OnNeedToRequestPermissions = { }, onDownloadCompleted: OnDownloadCompleted = { _, _ -> }, downloadManager: DownloadManager = DownloadManager(applicationContext, onDownloadCompleted), sessionManager: SessionManager, fragmentManager: FragmentManager? = null, dialog: DownloadDialogFragment = SimpleDownloadDialogFragment.newInstance())
fun onDownload(session: Session, download: Download): Boolean
var onDownloadCompleted: OnDownloadCompleted
var onNeedToRequestPermissions: OnNeedToRequestPermissions
fun onPermissionsResult(permissions: Array<String>, grantResults: IntArray): Unit
fun start(): Unit
fun stop(): Unit
object DrawableUtils
class EditToolbar : ViewGroup
interface Engine
abstract class EngineSession : Observable<Observer>
Module Contents
EngineSession(delegate: Observable<Observer> = ObserverRegistry())
interface Observer
Module Contents
open fun onAppPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onCancelContentPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onCloseWindowRequest(windowRequest: WindowRequest): Unit
open fun onContentPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onDesktopModeChange(enabled: Boolean): Unit
open fun onExternalResource(url: String, fileName: String, contentLength: Long? = null, contentType: String? = null, cookie: String? = null, userAgent: String? = null): Unit
open fun onFind(text: String): Unit
open fun onFindResult(activeMatchOrdinal: Int, numberOfMatches: Int, isDoneCounting: Boolean): Unit
open fun onFullScreenChange(enabled: Boolean): Unit
open fun onLoadingStateChange(loading: Boolean): Unit
open fun onLocationChange(url: String): Unit
open fun onLongPress(hitResult: HitResult): Unit
open fun onNavigationStateChange(canGoBack: Boolean? = null, canGoForward: Boolean? = null): Unit
open fun onOpenWindowRequest(windowRequest: WindowRequest): Unit
open fun onProgress(progress: Int): Unit
open fun onPromptRequest(promptRequest: PromptRequest): Unit
open fun onSecurityChange(secure: Boolean, host: String? = null, issuer: String? = null): Unit
open fun onThumbnailChange(bitmap: Bitmap?): Unit
open fun onTitleChange(title: String): Unit
open fun onTrackerBlocked(url: String): Unit
open fun onTrackerBlockingEnabledChange(enabled: Boolean): Unit
open class TrackingProtectionPolicy
class TrackingProtectionPolicyForSessionTypes : TrackingProtectionPolicy
abstract fun captureThumbnail(): Bitmap?
abstract fun clearData(): Unit
abstract fun clearFindMatches(): Unit
@CallSuper open fun close(): Unit
abstract fun disableTrackingProtection(): Unit
abstract fun enableTrackingProtection(policy: TrackingProtectionPolicy = TrackingProtectionPolicy.all()): Unit
abstract fun exitFullScreenMode(): Unit
abstract fun findAll(text: String): Unit
abstract fun findNext(forward: Boolean): Unit
abstract fun goBack(): Unit
abstract fun goForward(): Unit
abstract fun loadData(data: String, mimeType: String = "text/html", encoding: String = "UTF-8"): Unit
abstract fun loadUrl(url: String): Unit
abstract fun reload(): Unit
abstract fun restoreState(state: EngineSessionState): Unit
abstract fun saveState(): EngineSessionState
abstract val settings: Settings
abstract fun stopLoading(): Unit
abstract fun toggleDesktopMode(enable: Boolean, reload: Boolean = false): Unit
interface EngineSessionState
interface EngineView
class EngineViewPresenter : Observer
object ErrorPages
enum class ErrorType
data class EventMetricType : CommonMetricData
open class EventsMeasurement : TelemetryMeasurement
class ExceptionHandler : UncaughtExceptionHandler
data class Experiment
data class ExperimentDescriptor
class ExperimentDownloadException : Exception
class ExperimentPayload
interface ExperimentSource
interface ExperimentStorage
class ExperimentsMapMeasurement : TelemetryMeasurement
open class ExperimentsMeasurement : TelemetryMeasurement
data class ExperimentsSnapshot
data class Fact
interface FactProcessor
object Facts
class FailedToLoadAccountException : Exception
abstract class FetchTestCases
open class FileTelemetryStorage : TelemetryStorage
open class FileUtils
class FindInPageBar : ConstraintLayout, FindInPageView
class FindInPageFeature : LifecycleAwareFeature
interface FindInPageView
class FirefoxAccount : FirefoxAccountShaped
interface FirefoxAccountShaped : AutoCloseable
class FirefoxAccountsAuthFeature
class FirefoxSyncFeature<AuthType> : Observable<SyncStatusObserver>
open class FirstRunProfileDateMeasurement : TelemetryMeasurement
class FlatFileExperimentStorage : ExperimentStorage
class Fretboard
Module Contents
Fretboard(source: ExperimentSource, storage: ExperimentStorage, valuesProvider: ValuesProvider = ValuesProvider())
fun clearAllOverrides(context: Context): Unit
fun clearAllOverridesNow(context: Context): Unit
fun clearOverride(context: Context, descriptor: ExperimentDescriptor): Unit
fun clearOverrideNow(context: Context, descriptor: ExperimentDescriptor): Unit
val experiments: List<Experiment>
fun getActiveExperiments(context: Context): List<Experiment>
fun getExperiment(descriptor: ExperimentDescriptor): Experiment?
fun getExperimentsMap(context: Context): Map<String, Boolean>
fun getUserBucket(context: Context): Int
fun isInExperiment(context: Context, descriptor: ExperimentDescriptor): Boolean
@Synchronized fun loadExperiments(): Unit
fun setOverride(context: Context, descriptor: ExperimentDescriptor, active: Boolean): Unit
fun setOverrideNow(context: Context, descriptor: ExperimentDescriptor, active: Boolean): Unit
@Synchronized fun updateExperiments(): Boolean
fun withExperiment(context: Context, descriptor: ExperimentDescriptor, block: (Experiment) -> Unit): Unit
open class FullScreenFeature : SelectionAwareSessionObserver, LifecycleAwareFeature
open class FxaAccountManager : Closeable, Observable<AccountObserver>
data class FxaAuthInfo
typealias FxaException = FxaException
typealias FxaNetworkException = Network
typealias FxaPanicException = Panic
typealias FxaUnauthorizedException = Unauthorized
typealias FxaUnspecifiedException = Unspecified
typealias GeckoChoice = Choice
typealias GeckoCrashReporter = CrashReporter
class GeckoEngine : Engine
class GeckoEngineSession : CoroutineScope, EngineSession
class GeckoEngineSessionState : EngineSessionState
class GeckoEngineView : FrameLayout, EngineView
sealed class GeckoPermissionRequest : PermissionRequest
abstract class GenericScalarStorageEngine<ScalarType> : StorageEngine
Module Contents
GenericScalarStorageEngine()
open lateinit var applicationContext: Context
protected val dataStores: Array<GenericStorageMap<ScalarType>>
protected abstract fun deserializeSingleMetric(metricName: String, value: Any?): ScalarType?
open fun deserializeUserLifetime(): SharedPreferences
@Synchronized fun getSnapshot(storeName: String, clearStore: Boolean): GenericDataStorage<ScalarType>?
open fun getSnapshotAsJSON(storeName: String, clearStore: Boolean): Any?
protected fun getStoredName(metricData: CommonMetricData): String
abstract val logger: Logger
protected fun recordScalar(metricData: CommonMetricData, value: ScalarType): Unit
protected fun recordScalar(metricData: CommonMetricData, value: ScalarType, : Any? = null, combine: ScalarRecordingCombiner<ScalarType>): Unit
protected abstract fun serializeSingleMetric(userPreferences: Editor?, storeName: String, value: ScalarType, extraSerializationData: Any?): Unit
protected val userLifetimeStorage: SharedPreferences
object Glean : GleanInternalAPI
open class GleanInternalAPI
class Grammar
data class GrammarElement
data class Header
interface Headers : Iterable<Header>
data class HistoryAutocompleteResult
class HistoryDelegate : HistoryTrackingDelegate
interface HistoryStorage
class HistoryStorageSuggestionProvider : SuggestionProvider
interface HistoryTrackingDelegate
sealed class HitResult
interface HttpClient
class HttpPingUploader : PingUploader
class HttpURLConnectionClient : Client
open class IOUtils
typealias IdCollisionException = IdCollisionException
class InMemoryHistoryStorage : HistoryStorage
open class InlineAutocompleteEditText : AppCompatEditText
typealias IntentHandler = (Intent) -> Boolean
class IntentProcessor
typealias InvalidKeyException = InvalidKeyException
typealias InvalidRecordException = InvalidRecordException
class JSONExperimentParser
open class JSONPingSerializer : TelemetryPingSerializer
typealias JSONResponse = String
class Jexl
class JexlArray : JexlValue
class JexlBoolean : JexlValue
class JexlContext
class JexlDouble : JexlValue
class JexlException : Exception
class JexlInteger : JexlValue
class JexlObject : JexlValue
class JexlString : JexlValue
class JexlUndefined : JexlValue
sealed class JexlValue
class JobSchedulerSyncScheduler
open class JobSchedulerTelemetryScheduler : TelemetryScheduler
class KArgumentCaptor<out T>
open class KeyStoreWrapper
open class Keystore
class KeystoreException : GeneralSecurityException
class KintoExperimentSource : ExperimentSource
interface LifecycleAwareFeature : LifecycleObserver
class LifecycleObserver : LifecycleObserver
enum class Lifetime
class LintIssueRegistry
class LintLogChecks
open class LocaleMeasurement : TelemetryMeasurement
class LocaleSearchLocalizationProvider : SearchLocalizationProvider
object Log
class LogFactProcessor : FactProcessor
interface LogSink
class Logger
Module Contents
Logger(tag: String? = null)
fun debug(message: String? = null, throwable: Throwable? = null): Unit
fun debug(message: String? = null, throwable: Throwable? = null): Unit
fun error(message: String? = null, throwable: Throwable? = null): Unit
fun error(message: String? = null, throwable: Throwable? = null): Unit
fun info(message: String? = null, throwable: Throwable? = null): Unit
fun info(message: String? = null, throwable: Throwable? = null): Unit
fun measure(message: String, block: () -> Unit): Unit
fun measure(message: String, block: () -> Unit): Unit
fun warn(message: String? = null, throwable: Throwable? = null): Unit
fun warn(message: String? = null, throwable: Throwable? = null): Unit
typealias LoginsStorageException = LoginsStorageException
open class MetricsMeasurement : TelemetryMeasurement
typealias MismatchedLockException = MismatchedLockException
class MozillaSocorroService : CrashReporterService
class MutableHeaders : Headers, MutableIterable<Header>
open class NestedGeckoView : GeckoView, NestedScrollingChild
Module Contents
NestedGeckoView(context: Context)
open fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
open fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
open fun hasNestedScrollingParent(): Boolean
open fun isNestedScrollingEnabled(): Boolean
open fun onTouchEvent(ev: MotionEvent): Boolean
open fun setNestedScrollingEnabled(enabled: Boolean): Unit
open fun startNestedScroll(axes: Int): Boolean
open fun stopNestedScroll(): Unit
class NestedWebView : WebView, NestedScrollingChild
Module Contents
NestedWebView(context: Context)
fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
fun hasNestedScrollingParent(): Boolean
fun isNestedScrollingEnabled(): Boolean
fun onTouchEvent(ev: MotionEvent): Boolean
fun setNestedScrollingEnabled(enabled: Boolean): Unit
fun startNestedScroll(axes: Int): Boolean
fun stopNestedScroll(): Unit
typealias NoSuchRecordException = NoSuchRecordException
data class OAuthScopedKey
interface Observable<T>
class ObserverRegistry<T> : Observable<T>
class OkHttpClient : Client
typealias OnCommitListener = () -> Unit
typealias OnDownloadCompleted = (Download, Long) -> Unit
typealias OnFilterListener = (String) -> Unit
typealias OnKeyPreImeListener = (View, Int, KeyEvent) -> Boolean
typealias OnNeedToRequestPermissions = (permissions: Array<String>) -> Unit
typealias OnNeedToRequestPermissions = (permissions: Array<String>) -> Unit
typealias OnSearchStateChangeListener = (Boolean) -> Unit
typealias OnSelectionChangedListener = (Int, Int) -> Unit
typealias OnTextChangeListener = (String, String) -> Unit
typealias OnWindowsFocusChangeListener = (Boolean) -> Unit
open class OperatingSystemMeasurement : StaticMeasurement
open class OperatingSystemVersionMeasurement : StaticMeasurement
data class Padding
data class PageObservation
class ParserException : Exception
sealed class Permission
interface PermissionRequest
interface PingUploader
open class PlacesHistoryStorage : HistoryStorage, SyncableStore<SyncAuthInfo>
open class PocketIdMeasurement : TelemetryMeasurement
open class ProcessStartTimestampMeasurement : TelemetryMeasurement
data class Profile
class PromptFeature : LifecycleAwareFeature
sealed class PromptRequest
Module Contents
data class Alert : PromptRequest
data class Authentication : PromptRequest
Module Contents
Authentication(title: String, message: String, userName: String, password: String, method: Method, level: Level, onlyShowPassword: Boolean = false, previousFailed: Boolean = false, isCrossOrigin: Boolean = false, onConfirm: (String, String) -> Unit, onDismiss: () -> Unit)
enum class Level
enum class Method
val isCrossOrigin: Boolean
val level: Level
val message: String
val method: Method
val onConfirm: (String, String) -> Unit
val onDismiss: () -> Unit
val onlyShowPassword: Boolean
val password: String
val previousFailed: Boolean
val title: String
val userName: String
data class Color : PromptRequest
data class File : PromptRequest
data class MenuChoice : PromptRequest
data class MultipleChoice : PromptRequest
data class Popup : PromptRequest
data class SingleChoice : PromptRequest
data class TextPrompt : PromptRequest
class TimeSelection : PromptRequest
class PublicSuffixList
data class Request
Module Contents
Request(url: String, method: Method = Method.GET, headers: MutableHeaders? = MutableHeaders(), connectTimeout: Pair<Long, TimeUnit>? = null, readTimeout: Pair<Long, TimeUnit>? = null, body: Body? = null, redirect: Redirect = Redirect.FOLLOW)
class Body : Closeable
enum class Method
enum class Redirect
val body: Body?
val connectTimeout: Pair<Long, TimeUnit>?
val headers: MutableHeaders?
val method: Method
val readTimeout: Pair<Long, TimeUnit>?
val redirect: Redirect
val url: String
typealias RequestBuilder = Builder
typealias RequestFailedException = RequestFailedException
interface RequestInterceptor
data class Response : Closeable
typealias ResponseParser = (JSONResponse) -> List<String>
abstract class ReversibleString
object RustLog
class SafeBundle
class SafeIntent
class SearchEngine
interface SearchEngineFilter
class SearchEngineManager
class SearchEngineParser
interface SearchEngineProvider
abstract class SearchLocalizationProvider
data class SearchResult
class SearchSuggestionClient
typealias SearchSuggestionFetcher = suspend (url: String) -> String?
class SearchSuggestionProvider : SuggestionProvider
typealias SearchUseCase = (String) -> Unit
class SearchUseCases
open class SearchesMeasurement : TelemetryMeasurement
abstract class SelectionAwareSessionObserver : Observer, Observer
class SentryService : CrashReporterService
open class SequenceMeasurement : TelemetryMeasurement
typealias ServerPassword = ServerPassword
class ServoEngine : Engine
class ServoEngineSession : EngineSession
class ServoEngineSessionState : EngineSessionState
class ServoEngineView : FrameLayout, EngineView
class Session : Observable<Observer>
Module Contents
Session(initialUrl: String, private: Boolean = false, source: Source = Source.NONE, id: String = UUID.randomUUID().toString(), delegate: Observable<Observer> = ObserverRegistry())
data class FindResult
interface Observer
Module Contents
open fun onAppPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean
open fun onCloseWindowRequested(session: Session, windowRequest: WindowRequest): Boolean
open fun onContentPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean
open fun onCustomTabConfigChanged(session: Session, customTabConfig: CustomTabConfig?): Unit
open fun onDesktopModeChanged(session: Session, enabled: Boolean): Unit
open fun onDownload(session: Session, download: Download): Boolean
open fun onFindResult(session: Session, result: FindResult): Unit
open fun onFullScreenChanged(session: Session, enabled: Boolean): Unit
open fun onLoadingStateChanged(session: Session, loading: Boolean): Unit
open fun onLongPress(session: Session, hitResult: HitResult): Boolean
open fun onNavigationStateChanged(session: Session, canGoBack: Boolean, canGoForward: Boolean): Unit
open fun onOpenWindowRequested(session: Session, windowRequest: WindowRequest): Boolean
open fun onProgress(session: Session, progress: Int): Unit
open fun onPromptRequested(session: Session, promptRequest: PromptRequest): Boolean
open fun onSearch(session: Session, searchTerms: String): Unit
open fun onSecurityChanged(session: Session, securityInfo: SecurityInfo): Unit
open fun onThumbnailChanged(session: Session, bitmap: Bitmap?): Unit
open fun onTitleChanged(session: Session, title: String): Unit
open fun onTrackerBlocked(session: Session, blocked: String, all: List<String>): Unit
open fun onTrackerBlockingEnabledChanged(session: Session, blockingEnabled: Boolean): Unit
open fun onUrlChanged(session: Session, url: String): Unit
data class SecurityInfo
enum class Source
var appPermissionRequest: Consumable<PermissionRequest>
var canGoBack: Boolean
var canGoForward: Boolean
var closeWindowRequest: Consumable<WindowRequest>
var contentPermissionRequest: Consumable<PermissionRequest>
var customTabConfig: CustomTabConfig?
var desktopMode: Boolean
var download: Consumable<Download>
fun equals(other: Any?): Boolean
var findResults: List<FindResult>
var fullScreenMode: Boolean
fun hashCode(): Int
var hitResult: Consumable<HitResult>
val id: String
fun isCustomTabSession(): Boolean
var loading: Boolean
var openWindowRequest: Consumable<WindowRequest>
val private: Boolean
var progress: Int
var promptRequest: Consumable<PromptRequest>
var searchTerms: String
var securityInfo: SecurityInfo
val source: Source
var thumbnail: Bitmap?
var title: String
fun toString(): String
var trackerBlockingEnabled: Boolean
var trackersBlocked: List<String>
var url: String
interface SessionBundle
class SessionBundleStorage : Storage
open class SessionCountMeasurement : TelemetryMeasurement
open class SessionDurationMeasurement : TelemetryMeasurement
class SessionFeature : LifecycleAwareFeature
class SessionManager : Observable<Observer>
class SessionStorage : Storage
class SessionSuggestionProvider : SuggestionProvider
class SessionUseCases
abstract class Settings
open class SettingsMeasurement : TelemetryMeasurement
class SharedPrefAccountStorage : AccountStorage
class ShippedDomainsProvider : BaseDomainAutocompleteProvider
class SimpleBrowserMenuItem : BrowserMenuItem
class SimpleDownloadDialogFragment : DownloadDialogFragment
class SnapshotSerializer
open class StaticMeasurement : TelemetryMeasurement
object StatusBarUtils
data class StoreSyncStatus
data class StringListMetricType : CommonMetricData
data class StringMetricType : CommonMetricData
open class StringUtils
interface SuggestionLayout
interface SuggestionTransformer
abstract class SuggestionViewHolder
typealias SyncAuthInfo = SyncAuthInfo
typealias SyncAuthInvalidException = SyncAuthInvalidException
data class SyncError : SyncStatus
abstract class SyncJob : JobService
object SyncOk : SyncStatus
typealias SyncResult = Map<String, StoreSyncStatus>
sealed class SyncStatus
interface SyncStatusObserver
typealias SyncUnlockInfo = SyncUnlockInfo
abstract class SyncWorker : Worker
data class SyncableLoginsStore : SyncableStore<SyncUnlockInfo>
interface SyncableStore<AuthInfo>
class SystemEngine : Engine
class SystemEngineSession : EngineSession
class SystemEngineSessionState : EngineSessionState
class SystemEngineView : FrameLayout, EngineView, OnLongClickListener
class SystemPermissionRequest : PermissionRequest
class SystemWindowRequest : WindowRequest
open class TabCounter : RelativeLayout
class TabCounterToolbarButton : Action
class TabViewHolder : ViewHolder, Observer
class TabsAdapter : Adapter<TabViewHolder>, TabsTray, Observable<Observer>
class TabsFeature : LifecycleAwareFeature
class TabsToolbarFeature
interface TabsTray : Observable<Observer>
class TabsTrayInteractor : Observer
class TabsTrayPresenter : Observer
class TabsUseCases
open class Telemetry
class TelemetryClient
open class TelemetryConfiguration
open class TelemetryCorePingBuilder : TelemetryPingBuilder
open class TelemetryEvent
open class TelemetryEventPingBuilder : TelemetryPingBuilder
open class TelemetryHolder
open class TelemetryJobService : JobService
abstract class TelemetryMeasurement
open class TelemetryMobileEventPingBuilder : TelemetryPingBuilder
open class TelemetryMobileMetricsPingBuilder : TelemetryPingBuilder
open class TelemetryPing
abstract class TelemetryPingBuilder
interface TelemetryPingSerializer
open class TelemetryPocketEventPingBuilder : TelemetryPingBuilder
interface TelemetryScheduler
interface TelemetryStorage
typealias TextFormatter = (String) -> String
object ThreadUtils
enum class TimeUnit
data class TimespanMetricType : CommonMetricData
open class TimezoneOffsetMeasurement : TelemetryMeasurement
data class Token
interface Toolbar
class ToolbarAutocompleteFeature
class ToolbarFeature : LifecycleAwareFeature
class ToolbarInteractor
class ToolbarPresenter : SelectionAwareSessionObserver
typealias Transform = (JexlValue, List<JexlValue>) -> JexlValue
open class Trie
class UnsupportedSetting<T>
class UnsupportedSettingException : RuntimeException
class UrlMatcher
data class UuidMetricType : CommonMetricData
open class ValuesProvider
open class VersionMeasurement : StaticMeasurement
data class Visit
enum class VisitType
class WebURLFinder
class WindowFeature : LifecycleAwareFeature
interface WindowRequest
class WorkManagerSyncScheduler
android.app.Activity
android.arch.lifecycle.Lifecycle
android.content.Context
android.content.res.AssetManager
android.content.res.Resources
android.graphics.Bitmap
android.graphics.drawable.Drawable
android.os.StrictMode.ThreadPolicy
android.view.View
android.view.ViewGroup
kotlin.Boolean
kotlin.Char
kotlin.Double
kotlin.Float
kotlin.Int
kotlin.String
kotlin.String
kotlin.String
kotlin.collections.List
kotlin.collections.Map
kotlin.collections.Map
org.json.JSONArray
org.json.JSONObject
package mozilla.components.browser.awesomebar
package mozilla.components.browser.awesomebar.layout
package mozilla.components.browser.awesomebar.transform
package mozilla.components.browser.domains
package mozilla.components.browser.domains.autocomplete
package mozilla.components.browser.engine.gecko
Module Contents
class GeckoEngine : Engine
class GeckoEngineSession : CoroutineScope, EngineSession
class GeckoEngineSessionState : EngineSessionState
class GeckoEngineView : FrameLayout, EngineView
open class NestedGeckoView : GeckoView, NestedScrollingChild
Module Contents
NestedGeckoView(context: Context)
open fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
open fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
open fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
open fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
open fun hasNestedScrollingParent(): Boolean
open fun isNestedScrollingEnabled(): Boolean
open fun onTouchEvent(ev: MotionEvent): Boolean
open fun setNestedScrollingEnabled(enabled: Boolean): Unit
open fun startNestedScroll(axes: Int): Boolean
open fun stopNestedScroll(): Unit
package mozilla.components.browser.engine.gecko.permission
package mozilla.components.browser.engine.gecko.prompt
package mozilla.components.browser.engine.servo
package mozilla.components.browser.engine.system
Module Contents
class NestedWebView : WebView, NestedScrollingChild
Module Contents
NestedWebView(context: Context)
fun dispatchNestedFling(velocityX: Float, velocityY: Float, consumed: Boolean): Boolean
fun dispatchNestedPreFling(velocityX: Float, velocityY: Float): Boolean
fun dispatchNestedPreScroll(dx: Int, dy: Int, consumed: IntArray?, offsetInWindow: IntArray?): Boolean
fun dispatchNestedScroll(dxConsumed: Int, dyConsumed: Int, dxUnconsumed: Int, dyUnconsumed: Int, offsetInWindow: IntArray?): Boolean
fun hasNestedScrollingParent(): Boolean
fun isNestedScrollingEnabled(): Boolean
fun onTouchEvent(ev: MotionEvent): Boolean
fun setNestedScrollingEnabled(enabled: Boolean): Unit
fun startNestedScroll(axes: Int): Boolean
fun stopNestedScroll(): Unit
class SystemEngine : Engine
class SystemEngineSession : EngineSession
class SystemEngineSessionState : EngineSessionState
class SystemEngineView : FrameLayout, EngineView, OnLongClickListener
package mozilla.components.browser.engine.system.matcher
package mozilla.components.browser.engine.system.permission
package mozilla.components.browser.engine.system.window
package mozilla.components.browser.errorpages
package mozilla.components.browser.menu
package mozilla.components.browser.menu.item
package mozilla.components.browser.search
package mozilla.components.browser.search.provider
package mozilla.components.browser.search.provider.filter
package mozilla.components.browser.search.provider.localization
package mozilla.components.browser.search.suggestions
package mozilla.components.browser.session
Module Contents
data class Download
abstract class SelectionAwareSessionObserver : Observer, Observer
class Session : Observable<Observer>
Module Contents
Session(initialUrl: String, private: Boolean = false, source: Source = Source.NONE, id: String = UUID.randomUUID().toString(), delegate: Observable<Observer> = ObserverRegistry())
data class FindResult
interface Observer
Module Contents
open fun onAppPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean
open fun onCloseWindowRequested(session: Session, windowRequest: WindowRequest): Boolean
open fun onContentPermissionRequested(session: Session, permissionRequest: PermissionRequest): Boolean
open fun onCustomTabConfigChanged(session: Session, customTabConfig: CustomTabConfig?): Unit
open fun onDesktopModeChanged(session: Session, enabled: Boolean): Unit
open fun onDownload(session: Session, download: Download): Boolean
open fun onFindResult(session: Session, result: FindResult): Unit
open fun onFullScreenChanged(session: Session, enabled: Boolean): Unit
open fun onLoadingStateChanged(session: Session, loading: Boolean): Unit
open fun onLongPress(session: Session, hitResult: HitResult): Boolean
open fun onNavigationStateChanged(session: Session, canGoBack: Boolean, canGoForward: Boolean): Unit
open fun onOpenWindowRequested(session: Session, windowRequest: WindowRequest): Boolean
open fun onProgress(session: Session, progress: Int): Unit
open fun onPromptRequested(session: Session, promptRequest: PromptRequest): Boolean
open fun onSearch(session: Session, searchTerms: String): Unit
open fun onSecurityChanged(session: Session, securityInfo: SecurityInfo): Unit
open fun onThumbnailChanged(session: Session, bitmap: Bitmap?): Unit
open fun onTitleChanged(session: Session, title: String): Unit
open fun onTrackerBlocked(session: Session, blocked: String, all: List<String>): Unit
open fun onTrackerBlockingEnabledChanged(session: Session, blockingEnabled: Boolean): Unit
open fun onUrlChanged(session: Session, url: String): Unit
data class SecurityInfo
enum class Source
var appPermissionRequest: Consumable<PermissionRequest>
var canGoBack: Boolean
var canGoForward: Boolean
var closeWindowRequest: Consumable<WindowRequest>
var contentPermissionRequest: Consumable<PermissionRequest>
var customTabConfig: CustomTabConfig?
var desktopMode: Boolean
var download: Consumable<Download>
fun equals(other: Any?): Boolean
var findResults: List<FindResult>
var fullScreenMode: Boolean
fun hashCode(): Int
var hitResult: Consumable<HitResult>
val id: String
fun isCustomTabSession(): Boolean
var loading: Boolean
var openWindowRequest: Consumable<WindowRequest>
val private: Boolean
var progress: Int
var promptRequest: Consumable<PromptRequest>
var searchTerms: String
var securityInfo: SecurityInfo
val source: Source
var thumbnail: Bitmap?
var title: String
fun toString(): String
var trackerBlockingEnabled: Boolean
var trackersBlocked: List<String>
var url: String
class SessionManager : Observable<Observer>
fun SessionManager.runWithSession(sessionId: String?, block: SessionManager.(Session) -> Boolean): Boolean
package mozilla.components.browser.session.storage
package mozilla.components.browser.session.tab
package mozilla.components.browser.storage.memory
package mozilla.components.browser.storage.sync
package mozilla.components.browser.tabstray
package mozilla.components.browser.toolbar
Module Contents
class BrowserToolbar : ViewGroup, Toolbar
Module Contents
BrowserToolbar(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)
class Button : ActionButton
class ToggleButton : ActionToggleButton
class TwoStateButton : Button
fun addBrowserAction(action: Action): Unit
fun addNavigationAction(action: Action): Unit
fun addPageAction(action: Action): Unit
var browserActionMargin: Int
fun displayMode(): Unit
fun displayProgress(progress: Int): Unit
var displaySiteSecurityIcon: Boolean
fun editMode(): Unit
var hint: String
var hintColor: Int
fun invalidateActions(): Unit
fun onBackPressed(): Boolean
protected fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int): Unit
protected fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int): Unit
var onUrlClicked: () -> Boolean
fun setAutocompleteListener(filter: (String, AutocompleteDelegate) -> Unit): Unit
fun setMenuBuilder(: BrowserMenuBuilder): Unit
fun setOnEditFocusChangeListener(listener: (Boolean) -> Unit): Unit
fun setOnEditListener(listener: OnEditListener): Unit
fun setOnUrlCommitListener(listener: (String) -> Unit): Unit
fun setSearchTerms(searchTerms: String): Unit
fun setUrlTextPadding(left: Int = displayToolbar.urlView.paddingLeft, top: Int = displayToolbar.urlView.paddingTop, right: Int = displayToolbar.urlView.paddingRight, bottom: Int = displayToolbar.urlView.paddingBottom): Unit
var siteSecure: SiteSecurity
var textColor: Int
var textSize: Float
var typeface: Typeface
var url: String
var urlBoxMargin: Int
var urlBoxView: View?
package mozilla.components.browser.toolbar.behavior
Module Contents
class BrowserToolbarBottomBehavior : Behavior<BrowserToolbar>
Module Contents
BrowserToolbarBottomBehavior(context: Context?, attrs: AttributeSet?)
fun layoutDependsOn(parent: CoordinatorLayout, child: BrowserToolbar, dependency: View): Boolean
fun onNestedPreScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, target: View, dx: Int, dy: Int, consumed: IntArray, type: Int): Unit
fun onStartNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, directTargetChild: View, target: View, axes: Int, type: Int): Boolean
fun onStopNestedScroll(coordinatorLayout: CoordinatorLayout, child: BrowserToolbar, target: View, type: Int): Unit
package mozilla.components.browser.toolbar.edit
package mozilla.components.concept.awesomebar
Module Contents
interface AwesomeBar
Module Contents
data class Suggestion
Module Contents
Suggestion(id: String = UUID.randomUUID().toString(), title: String? = null, description: String? = null, icon: (width: Int, height: Int) -> Bitmap? = { _, _ -> null }, chips: List<Chip> = emptyList(), flags: Set<Flag> = emptySet(), onSuggestionClicked: () -> Unit = null, onChipClicked: (Chip) -> Unit = null, score: Int = 0)
data class Chip
enum class Flag
fun areContentsTheSame(other: Suggestion): Boolean
val chips: List<Chip>
val description: String?
val flags: Set<Flag>
val icon: (width: Int, height: Int) -> Bitmap?
val id: String
val onChipClicked: (Chip) -> Unit
val onSuggestionClicked: () -> Unit
val score: Int
val title: String?
interface SuggestionProvider
abstract fun addProviders(vararg providers: SuggestionProvider): Unit
open fun asView(): View
open fun onInputCancelled(): Unit
abstract fun onInputChanged(text: String): Unit
open fun onInputStarted(): Unit
abstract fun setOnStopListener(listener: () -> Unit): Unit
package mozilla.components.concept.engine
Module Contents
data class DefaultSettings : Settings
Module Contents
DefaultSettings(javascriptEnabled: Boolean = true, domStorageEnabled: Boolean = true, webFontsEnabled: Boolean = true, mediaPlaybackRequiresUserGesture: Boolean = true, trackingProtectionPolicy: TrackingProtectionPolicy? = null, requestInterceptor: RequestInterceptor? = null, historyTrackingDelegate: HistoryTrackingDelegate? = null, userAgentString: String? = null, javaScriptCanOpenWindowsAutomatically: Boolean = false, displayZoomControls: Boolean = true, loadWithOverviewMode: Boolean = false, allowFileAccess: Boolean = true, allowFileAccessFromFileURLs: Boolean = false, allowUniversalAccessFromFileURLs: Boolean = false, allowContentAccess: Boolean = true, verticalScrollBarEnabled: Boolean = true, horizontalScrollBarEnabled: Boolean = true, remoteDebuggingEnabled: Boolean = false, supportMultipleWindows: Boolean = false, testingModeEnabled: Boolean = false)
var allowContentAccess: Boolean
var allowFileAccess: Boolean
var allowFileAccessFromFileURLs: Boolean
var allowUniversalAccessFromFileURLs: Boolean
var displayZoomControls: Boolean
var domStorageEnabled: Boolean
var historyTrackingDelegate: HistoryTrackingDelegate?
var horizontalScrollBarEnabled: Boolean
var javaScriptCanOpenWindowsAutomatically: Boolean
var javascriptEnabled: Boolean
var loadWithOverviewMode: Boolean
var mediaPlaybackRequiresUserGesture: Boolean
var remoteDebuggingEnabled: Boolean
var requestInterceptor: RequestInterceptor?
var supportMultipleWindows: Boolean
var testingModeEnabled: Boolean
var trackingProtectionPolicy: TrackingProtectionPolicy?
var userAgentString: String?
var verticalScrollBarEnabled: Boolean
var webFontsEnabled: Boolean
interface Engine
abstract class EngineSession : Observable<Observer>
Module Contents
EngineSession(delegate: Observable<Observer> = ObserverRegistry())
interface Observer
Module Contents
open fun onAppPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onCancelContentPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onCloseWindowRequest(windowRequest: WindowRequest): Unit
open fun onContentPermissionRequest(permissionRequest: PermissionRequest): Unit
open fun onDesktopModeChange(enabled: Boolean): Unit
open fun onExternalResource(url: String, fileName: String, contentLength: Long? = null, contentType: String? = null, cookie: String? = null, userAgent: String? = null): Unit
open fun onFind(text: String): Unit
open fun onFindResult(activeMatchOrdinal: Int, numberOfMatches: Int, isDoneCounting: Boolean): Unit
open fun onFullScreenChange(enabled: Boolean): Unit
open fun onLoadingStateChange(loading: Boolean): Unit
open fun onLocationChange(url: String): Unit
open fun onLongPress(hitResult: HitResult): Unit
open fun onNavigationStateChange(canGoBack: Boolean? = null, canGoForward: Boolean? = null): Unit
open fun onOpenWindowRequest(windowRequest: WindowRequest): Unit
open fun onProgress(progress: Int): Unit
open fun onPromptRequest(promptRequest: PromptRequest): Unit
open fun onSecurityChange(secure: Boolean, host: String? = null, issuer: String? = null): Unit
open fun onThumbnailChange(bitmap: Bitmap?): Unit
open fun onTitleChange(title: String): Unit
open fun onTrackerBlocked(url: String): Unit
open fun onTrackerBlockingEnabledChange(enabled: Boolean): Unit
open class TrackingProtectionPolicy
class TrackingProtectionPolicyForSessionTypes : TrackingProtectionPolicy
abstract fun captureThumbnail(): Bitmap?
abstract fun clearData(): Unit
abstract fun clearFindMatches(): Unit
@CallSuper open fun close(): Unit
abstract fun disableTrackingProtection(): Unit
abstract fun enableTrackingProtection(policy: TrackingProtectionPolicy = TrackingProtectionPolicy.all()): Unit
abstract fun exitFullScreenMode(): Unit
abstract fun findAll(text: String): Unit
abstract fun findNext(forward: Boolean): Unit
abstract fun goBack(): Unit
abstract fun goForward(): Unit
abstract fun loadData(data: String, mimeType: String = "text/html", encoding: String = "UTF-8"): Unit
abstract fun loadUrl(url: String): Unit
abstract fun reload(): Unit
abstract fun restoreState(state: EngineSessionState): Unit
abstract fun saveState(): EngineSessionState
abstract val settings: Settings
abstract fun stopLoading(): Unit
abstract fun toggleDesktopMode(enable: Boolean, reload: Boolean = false): Unit
interface EngineSessionState
interface EngineView
sealed class HitResult
class LifecycleObserver : LifecycleObserver
abstract class Settings
class UnsupportedSetting<T>
class UnsupportedSettingException : RuntimeException
package mozilla.components.concept.engine.history
package mozilla.components.concept.engine.permission
package mozilla.components.concept.engine.prompt
Module Contents
data class Choice : Parcelable
sealed class PromptRequest
Module Contents
data class Alert : PromptRequest
data class Authentication : PromptRequest
Module Contents
Authentication(title: String, message: String, userName: String, password: String, method: Method, level: Level, onlyShowPassword: Boolean = false, previousFailed: Boolean = false, isCrossOrigin: Boolean = false, onConfirm: (String, String) -> Unit, onDismiss: () -> Unit)
enum class Level
enum class Method
val isCrossOrigin: Boolean
val level: Level
val message: String
val method: Method
val onConfirm: (String, String) -> Unit
val onDismiss: () -> Unit
val onlyShowPassword: Boolean
val password: String
val previousFailed: Boolean
val title: String
val userName: String
data class Color : PromptRequest
data class File : PromptRequest
data class MenuChoice : PromptRequest
data class MultipleChoice : PromptRequest
data class Popup : PromptRequest
data class SingleChoice : PromptRequest
data class TextPrompt : PromptRequest
class TimeSelection : PromptRequest
package mozilla.components.concept.engine.request
package mozilla.components.concept.engine.window
package mozilla.components.concept.fetch
Module Contents
abstract class Client
data class Header
interface Headers : Iterable<Header>
class MutableHeaders : Headers, MutableIterable<Header>
data class Request
Module Contents
Request(url: String, method: Method = Method.GET, headers: MutableHeaders? = MutableHeaders(), connectTimeout: Pair<Long, TimeUnit>? = null, readTimeout: Pair<Long, TimeUnit>? = null, body: Body? = null, redirect: Redirect = Redirect.FOLLOW)
class Body : Closeable
enum class Method
enum class Redirect
val body: Body?
val connectTimeout: Pair<Long, TimeUnit>?
val headers: MutableHeaders?
val method: Method
val readTimeout: Pair<Long, TimeUnit>?
val redirect: Redirect
val url: String
data class Response : Closeable
val Response.clientError: Boolean
val Response.success: Boolean
package mozilla.components.concept.storage
package mozilla.components.concept.tabstray
package mozilla.components.concept.toolbar
package mozilla.components.feature.accounts
package mozilla.components.feature.awesomebar
package mozilla.components.feature.awesomebar.provider
package mozilla.components.feature.contextmenu
Module Contents
data class ContextMenuCandidate
Module Contents
ContextMenuCandidate(id: String, label: String, showFor: (Session, HitResult) -> Boolean, action: (Session, HitResult) -> Unit)
val action: (Session, HitResult) -> Unit
fun createCopyImageLocationCandidate(context: Context, snackBarParentView: View): ContextMenuCandidate
fun createCopyLinkCandidate(context: Context, snackBarParentView: View): ContextMenuCandidate
fun createOpenImageInNewTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createOpenInNewTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createOpenInPrivateTabCandidate(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): ContextMenuCandidate
fun createSaveImageCandidate(context: Context): ContextMenuCandidate
fun createShareLinkCandidate(context: Context): ContextMenuCandidate
fun defaultCandidates(context: Context, tabsUseCases: TabsUseCases, snackBarParentView: View): List<ContextMenuCandidate>
val id: String
val label: String
val showFor: (Session, HitResult) -> Boolean
class ContextMenuFeature : LifecycleAwareFeature
class ContextMenuFragment : DialogFragment
package mozilla.components.feature.customtabs
Module Contents
abstract class AbstractCustomTabsService : CustomTabsService
Module Contents
AbstractCustomTabsService()
abstract val engine: Engine
protected open fun extraCommand(commandName: String?, args: Bundle?): Bundle?
protected open fun mayLaunchUrl(sessionToken: CustomTabsSessionToken?, url: Uri?, extras: Bundle?, otherLikelyBundles: MutableList<Bundle>?): Boolean
protected open fun newSession(sessionToken: CustomTabsSessionToken?): Boolean
protected open fun postMessage(sessionToken: CustomTabsSessionToken?, message: String?, extras: Bundle?): Int
protected open fun requestPostMessageChannel(sessionToken: CustomTabsSessionToken?, postMessageOrigin: Uri?): Boolean
protected open fun updateVisuals(sessionToken: CustomTabsSessionToken?, bundle: Bundle?): Boolean
protected open fun validateRelationship(sessionToken: CustomTabsSessionToken?, relation: Int, origin: Uri?, extras: Bundle?): Boolean
protected open fun warmup(flags: Long): Boolean
class CustomTabsToolbarFeature : LifecycleAwareFeature
package mozilla.components.feature.downloads
Module Contents
typealias AndroidDownloadManager = DownloadManager
abstract class DownloadDialogFragment : DialogFragment
class DownloadManager
class DownloadsFeature : SelectionAwareSessionObserver, LifecycleAwareFeature
Module Contents
DownloadsFeature(applicationContext: Context, onNeedToRequestPermissions: OnNeedToRequestPermissions = { }, onDownloadCompleted: OnDownloadCompleted = { _, _ -> }, downloadManager: DownloadManager = DownloadManager(applicationContext, onDownloadCompleted), sessionManager: SessionManager, fragmentManager: FragmentManager? = null, dialog: DownloadDialogFragment = SimpleDownloadDialogFragment.newInstance())
fun onDownload(session: Session, download: Download): Boolean
var onDownloadCompleted: OnDownloadCompleted
var onNeedToRequestPermissions: OnNeedToRequestPermissions
fun onPermissionsResult(permissions: Array<String>, grantResults: IntArray): Unit
fun start(): Unit
fun stop(): Unit
typealias OnDownloadCompleted = (Download, Long) -> Unit
typealias OnNeedToRequestPermissions = (permissions: Array<String>) -> Unit
class SimpleDownloadDialogFragment : DownloadDialogFragment
package mozilla.components.feature.findinpage
package mozilla.components.feature.findinpage.view
package mozilla.components.feature.intent
package mozilla.components.feature.prompts
package mozilla.components.feature.search
package mozilla.components.feature.session
package mozilla.components.feature.session.bundling
package mozilla.components.feature.sync
package mozilla.components.feature.tabs
package mozilla.components.feature.tabs.tabstray
package mozilla.components.feature.tabs.toolbar
package mozilla.components.feature.toolbar
package mozilla.components.lib.crash
package mozilla.components.lib.crash.handler
package mozilla.components.lib.crash.prompt
package mozilla.components.lib.crash.service
package mozilla.components.lib.dataprotect
package mozilla.components.lib.fetch.httpurlconnection
package mozilla.components.lib.fetch.okhttp
package mozilla.components.lib.jexl
package mozilla.components.lib.jexl.ast
Module Contents
data class AstNode
Module Contents
AstNode(type: AstType, value: Any? = null, operator: String? = null, left: AstNode? = null, right: AstNode? = null, from: AstNode? = null, relative: Boolean = false, subject: AstNode? = null, name: String? = null, expression: AstNode? = null, test: AstNode? = null, consequent: AstNode? = null, alternate: AstNode? = null, arguments: MutableList<AstNode> = mutableListOf())
var alternate: AstNode?
val arguments: MutableList<AstNode>
var consequent: AstNode?
fun equals(other: Any?): Boolean
var expression: AstNode?
var from: AstNode?
var left: AstNode?
var name: String?
val operator: String?
var relative: Boolean
var right: AstNode?
var subject: AstNode?
var test: AstNode?
fun toString(): String
val type: AstType
var value: Any?
enum class AstType
package mozilla.components.lib.jexl.evaluator
package mozilla.components.lib.jexl.ext
package mozilla.components.lib.jexl.grammar
package mozilla.components.lib.jexl.lexer
package mozilla.components.lib.jexl.parser
package mozilla.components.lib.jexl.value
package mozilla.components.lib.publicsuffixlist
package mozilla.components.service.fretboard
Module Contents
data class Experiment
data class ExperimentDescriptor
class ExperimentDownloadException : Exception
class ExperimentPayload
interface ExperimentSource
interface ExperimentStorage
data class ExperimentsSnapshot
class Fretboard
Module Contents
Fretboard(source: ExperimentSource, storage: ExperimentStorage, valuesProvider: ValuesProvider = ValuesProvider())
fun clearAllOverrides(context: Context): Unit
fun clearAllOverridesNow(context: Context): Unit
fun clearOverride(context: Context, descriptor: ExperimentDescriptor): Unit
fun clearOverrideNow(context: Context, descriptor: ExperimentDescriptor): Unit
val experiments: List<Experiment>
fun getActiveExperiments(context: Context): List<Experiment>
fun getExperiment(descriptor: ExperimentDescriptor): Experiment?
fun getExperimentsMap(context: Context): Map<String, Boolean>
fun getUserBucket(context: Context): Int
fun isInExperiment(context: Context, descriptor: ExperimentDescriptor): Boolean
@Synchronized fun loadExperiments(): Unit
fun setOverride(context: Context, descriptor: ExperimentDescriptor, active: Boolean): Unit
fun setOverrideNow(context: Context, descriptor: ExperimentDescriptor, active: Boolean): Unit
@Synchronized fun updateExperiments(): Boolean
fun withExperiment(context: Context, descriptor: ExperimentDescriptor, block: (Experiment) -> Unit): Unit
class JSONExperimentParser
open class ValuesProvider
package mozilla.components.service.fretboard.scheduler.jobscheduler
package mozilla.components.service.fretboard.scheduler.workmanager
package mozilla.components.service.fretboard.source.kinto
package mozilla.components.service.fretboard.storage.flatfile
package mozilla.components.service.fxa
package mozilla.components.service.glean
package mozilla.components.service.glean.config
package mozilla.components.service.glean.net
package mozilla.components.service.glean.storages
Module Contents
abstract class GenericScalarStorageEngine<ScalarType> : StorageEngine
Module Contents
GenericScalarStorageEngine()
open lateinit var applicationContext: Context
protected val dataStores: Array<GenericStorageMap<ScalarType>>
protected abstract fun deserializeSingleMetric(metricName: String, value: Any?): ScalarType?
open fun deserializeUserLifetime(): SharedPreferences
@Synchronized fun getSnapshot(storeName: String, clearStore: Boolean): GenericDataStorage<ScalarType>?
open fun getSnapshotAsJSON(storeName: String, clearStore: Boolean): Any?
protected fun getStoredName(metricData: CommonMetricData): String
abstract val logger: Logger
protected fun recordScalar(metricData: CommonMetricData, value: ScalarType): Unit
protected fun recordScalar(metricData: CommonMetricData, value: ScalarType, : Any? = null, combine: ScalarRecordingCombiner<ScalarType>): Unit
protected abstract fun serializeSingleMetric(userPreferences: Editor?, storeName: String, value: ScalarType, extraSerializationData: Any?): Unit
protected val userLifetimeStorage: SharedPreferences
package mozilla.components.service.sync.logins
package mozilla.components.support.base.android
package mozilla.components.support.base.facts
package mozilla.components.support.base.facts.processor
package mozilla.components.support.base.feature
package mozilla.components.support.base.log
package mozilla.components.support.base.log.logger
Module Contents
class Logger
Module Contents
Logger(tag: String? = null)
fun debug(message: String? = null, throwable: Throwable? = null): Unit
fun debug(message: String? = null, throwable: Throwable? = null): Unit
fun error(message: String? = null, throwable: Throwable? = null): Unit
fun error(message: String? = null, throwable: Throwable? = null): Unit
fun info(message: String? = null, throwable: Throwable? = null): Unit
fun info(message: String? = null, throwable: Throwable? = null): Unit
fun measure(message: String, block: () -> Unit): Unit
fun measure(message: String, block: () -> Unit): Unit
fun warn(message: String? = null, throwable: Throwable? = null): Unit
fun warn(message: String? = null, throwable: Throwable? = null): Unit
package mozilla.components.support.base.log.sink
package mozilla.components.support.base.observer
package mozilla.components.support.ktx.android.arch.lifecycle
package mozilla.components.support.ktx.android.content
package mozilla.components.support.ktx.android.content.res
package mozilla.components.support.ktx.android.graphics
package mozilla.components.support.ktx.android.graphics.drawable
package mozilla.components.support.ktx.android.org.json
package mozilla.components.support.ktx.android.os
package mozilla.components.support.ktx.android.util
package mozilla.components.support.ktx.android.view
package mozilla.components.support.ktx.kotlin
package mozilla.components.support.rustlog
package mozilla.components.support.test
package mozilla.components.support.test.robolectric
package mozilla.components.support.utils
package mozilla.components.tooling.fetch.tests
package mozilla.components.tooling.lint
package mozilla.components.ui.autocomplete
package mozilla.components.ui.progress
package mozilla.components.ui.tabcounter
package org.mozilla.telemetry
package org.mozilla.telemetry.config
package org.mozilla.telemetry.event
package org.mozilla.telemetry.measurement
package org.mozilla.telemetry.net
package org.mozilla.telemetry.ping
package org.mozilla.telemetry.schedule
package org.mozilla.telemetry.schedule.jobscheduler
package org.mozilla.telemetry.serialize
package org.mozilla.telemetry.storage
package org.mozilla.telemetry.util